[paket]
tanim 	= PCI bus konfigürasyon kütüphane ve araçları
paketci = milisarge
grup 	= sistem
url 	= https://mj.ucw.cz/sw/pciutils/

[gerek]
derleme = 
calisma = hwids

[kaynak]
gz 	    = https://mj.ucw.cz/download/linux/pci

[sha256]
1       = 8953a785b2e3af414434b8fdcbfb75c90758819631001e60dd3afb89b22b2331
[derle]
betik   = make OPT="${CFLAGS} -fPIC -DPIC" ZLIB=no SHARED=no PREFIX=/usr SHAREDIR=/usr/share/hwdata MANDIR=/usr/share/man SBINDIR=/usr/bin lib/libpci.a 
betik   = cp lib/libpci.a "${SRC}/"
betik   = make clean
betik   = make OPT="${CFLAGS}" ZLIB=no SHARED=yes PREFIX=/usr SBINDIR=/usr/bin SHAREDIR=/usr/share/hwdata MANDIR=/usr/share/man all

[pakur]
betik   = make SHARED=yes PREFIX=/usr SBINDIR=/usr/bin SHAREDIR=/usr/share/hwdata MANDIR=/usr/share/man DESTDIR="${PKG}" install install-lib
betik   = rm -rf "$PKG"/usr/{sbin/update-pciids,share/{man/man8/update-pciids.8,hwdata}}
